2015-12-16 -16728 - Spec - Program to Close Old Work Orders based on Ex Factory date #sncsup #MMPPSupport

SPECIFICATIONS

2015-12-16-Spec-16728-Program to close old Work Orders based on Ex Factory date


Purpose


Program to close work orders based on Ex Factory date

Admin Info


Purpose
Program to close work orders based on Ex Factory date
Requested By
Jingsha
Spec Created By
Karthik
Spec Created Date
03/14/2016
Spec QA by
Jingsha
Objects
ZWO_SET_CLOSED_NEW
Document Status
Complete

Estimates



Sl.No
Activity
Estimation in Hours
1
Research
08
2
Documentation
08
3
Development/ Config
16
4
Unit test in DEV
16
5
Unit test in QUA

6
Other activity


TOTAL
48
References

Prior Tickets

[Provide links of prior associated Spec / Break Fix BOSS document(s)]

Documents
[Attach any document(s) received for the requirement(s)]

Spec Changes


[List the changes made to program after the approval of the original requirement along with the Date on which the change request was received and the name of the initiator]

Sl.
Change Details
Requested By
Requested On
Notes if any





Functional Requirement


Purpose/WHY:

[Explain the purpose of the project and the reason why this requirement has come]
There are many work orders which are closed are being there in the system, to improve the performance of the system WOs can be deleted

In Scope:

[List the activities to be included in scope]
Work Orders 90 days

Out of Scope:

[Out of scope activities]

Solution Summary


[Discuss this section with Requester and get approval prior to beginning work]

Create a new program "ZWO_SET_CLOSED_NEW" by copying the standard program ZWO_SET_CLOSED. Added delivery date in the selection screen.
Business need to Close the work order if the deliver date and delivery creation date is greater that 90 days.
Added logic to close the work order if the delivery date is greater than 90 days.

Test Plan
[List test scenarios/cases to be executed here]

Test ID
Test Scenario
Expected Results
SNDWC001
Foreground:Execute the job by setting up variant with dynamic delivery date selection
The Work orders has to be closed with the delivery date less that 90 days from the past
SNDWC002
Po Delivery date Should More than 90 Days& Po Header was Closed in SNC System.
Workorder shall be Close
SNDWC003
Po Delivery date Should Less than 90 Days& Po Header was Closed in SNC System.
Workorder should not close
SNDWC004
Po have multiple delivery dates
Workorder shall be Close
SNDWC005
Po have multiple delivery dates in different line items & Po created less than 90 days.
Workorder shall be Close
SNDWC006
Po Delivery date Should More than 90 Days& Po Header was not Closed in SNC System.
Workorder should not close
SNDWC007
Po Delivery date was future & Po header was Close.
Workorder should not close
SNDWC008
Give multiple Suppliers
Workorder shall be Close
SNDWC009
Give Non SNC Vendor
Error message should come
SNDWC010
Give Delivery past delivery dates(01/01/2013 &01/01/2014)
Error message should come
SNDWC011
Execute the job once again after successful execution of the previuos job with the same delivery date as input
The job must be successful and there shall not be any dumps and the spool shall show the Wos which are closed. If there are no work orders ot be closed the spool shall be shown " No work orders to be Closed "
SNDWC012
BackGround:Execute the job by setting up variant with dynamic delivery date selection.
The Work orders has to be closed with the delivery date less that 90 days from the past
SNDWC013
Po Delivery date Should More than 90 Days& Po Header was Closed in SNC System.
Workorder shall be Close
SNDWC014
Po Delivery date Should Less than 90 Days& Po Header was Closed in SNC System.
Workorder should not close
SNDWC015
Po have multiple delivery dates in different line items & Po created less than 90 days.
Workorder should not close
SNDWC016
Po Delivery date Should More than 90 Days& Po Header was not Closed in SNC System.
Workorder should not close
SNDWC017
Po Delivery date was future & Po header was Close.
Workorder should not close
SNDWC018
Give Non SNC Vendor
Error message should come
SNDWC019
Give Delivery past delivery dates(01/01/2013 &01/01/2014)
Error message should come
SNDWC020
Execute the job once again after successful execution of the previuos job with the same delivery date as input
The job must be successful and there shall not be any dumps and the spool shall show the Wos which are closed. If there are no work orders ot be closed the spool shall be shown " No work orders to be Closed "

Solution Details


[Provide complete technical details for configuration or programming here]
Create a new program to close WOs added logic to close the work order if the delivery date is greater than 90 days.

Issues


[List Issues / Bugs identified in configuration or development]
2016-03-14 - 25463 - Rel Notes - Program to Close Old Work Orders